package CodeBlock;
/**
 * 
* @ClassName: CodeBlock
* @Description: TODO(代码块，静态代码块
	static C CodeBlock
	static D CodeBlock
 	C CodeBlock
 	C constructor
 	D CodeBlock
 	D constructor
* )
* @author hsj
* @email 2356899074@qq.com
* @date 2019年5月31日
*
 */
public class CodeBlockConstructionField {
	public static void main(String[] args) {
		new HelloF();
	}
}

class HelloF extends HelloE {
	private String fstr = "HelloF";
	private static String  fstrstatic = "HelloFstatic";
	public HelloF() {
		System.out.println(" F constructor");
	}

	{
		System.out.println(" F CodeBlock");
	}
	static {
		System.out.println("static F CodeBlock");
	}
}

class HelloE {
	private String estr = "HelloE";
	private static String estrstatic = "HelloEstatic";
	public HelloE() {
		System.out.println(" E constructor");
	}

	{
		System.out.println(" E CodeBlock");
	}
	static {
		System.out.println("static E CodeBlock");
	}
}